package Shoppingcart;

import java.util.ArrayList;

abstract class shoppingcart implements Print {

	private double TotalPrice;

	class ShoppingList {
		private Goods goods;
		private int num;
	}

	ArrayList<ShoppingList> shoppingList = new ArrayList<ShoppingList>();
	

	public void AddGoods(){
		
	}
	
	public void Delete(){
		
	}
	
	public void displayAllGoods(){
		for(ShoppingList l : shoppingList){
			if(l!=null){
				System.out.println(l);
			}
		}
	}
}
